package com.soulkun.smarthome.logic.model

import com.google.gson.annotations.SerializedName

data class WeatherModel<T>(
    val status: String,
    val result: T
)

data class WeatherRealtimeResultModel(
    val realtime: WeatherRealtimeModel,
)

data class WeatherRealtimeModel(
    val temperature: Float,
    val humidity: Float,
    val skycon: String,
    @SerializedName("air_quality") val airQuality: AirQualityModel,
    @SerializedName("life_index") val lifeIndex: LifeIndexModel
)

data class AirQualityModel(
    val description: AirQualityDescriptionModel
)

data class LifeIndexModel(
    val ultraviolet: LifeIndexDescriptionModel,
    val comfort: LifeIndexDescriptionModel,
)

data class AirQualityDescriptionModel(
    val chn: String,
    val usa: String
)

data class LifeIndexDescriptionModel(
    val index: Int,
    val desc: String
)

data class WeatherMinutelyResultModel(
    val minutely: WeatherMinutelyModel
)

data class WeatherMinutelyModel(
    val description: String
)

